# -*- coding: UTF-8 -*-
from server.model import Base
from sqlalchemy.sql.functions import now
from sqlalchemy import Column, DateTime, Text, BigInteger, Boolean


class JwtBlacklists(Base):
    __tablename__ = 'jwt_blacklists'
    id = Column(BigInteger, primary_key=True, nullable=False, doc='')
    jwt = Column(Text, doc='jwt')
    created_at = Column(DateTime, default=now(), doc='')
    updated_at = Column(DateTime, default=now(), doc='')
    deleted_at = Column(DateTime, doc='')
    deleted = Column(Boolean, default=0, doc='')
